package com.xin.springcloudquartz.repository;

import com.xin.springcloudquartz.dataobject.Event;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface EventRepository extends JpaRepository<Event,String>{
    Page<Event> findAllByOpenId(String openId, Pageable pageable);
}
